package com.maybach.workflow.common.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

public class FlowActLogDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * This field corresponds to the database column wf_flow_act_log.id
     */
    private Long id;

    /**
     * This field corresponds to the database column wf_flow_act_log.flow_id
     */
    private Long flowId;

    /**
     * This field corresponds to the database column wf_flow_act_log.flow_name
     */
    private String flowName;

    /**
     * This field corresponds to the database column wf_flow_act_log.biz_type
     */
    private String bizType;

    /**
     * This field corresponds to the database column wf_flow_act_log.biz_id
     */
    private Long bizId;

    /**
     * This field corresponds to the database column wf_flow_act_log.task_id
     */
    private Long taskId;

    /**
     * This field corresponds to the database column wf_flow_act_log.task_name
     */
    private String taskName;

    /**
     * This field corresponds to the database column wf_flow_act_log.act_type
     */
    private String actType;

    /**
     * This field corresponds to the database column wf_flow_act_log.task_type
     */
    private String taskType;

    /**
     * This field corresponds to the database column wf_flow_act_log.detail_act_type
     */
    private String detailActType;

    /**
     * This field corresponds to the database column wf_flow_act_log.reason_code
     */
    private String reasonCode;

    /**
     * This field corresponds to the database column wf_flow_act_log.reason_desc
     */
    private String reasonDesc;

    /**
     * This field corresponds to the database column wf_flow_act_log.memo
     */
    private String memo;

    /**
     * This field corresponds to the database column wf_flow_act_log.act_user_id
     */
    private Long actUserId;

    /**
     * This field corresponds to the database column wf_flow_act_log.act_user_name
     */
    private String actUserName;

    /**
     * This field corresponds to the database column wf_flow_act_log.act_user_role
     */
    private String actUserRole;

    /**
     * This field corresponds to the database column wf_flow_act_log.attributes
     */
    private String attributes;

    /**
     * This field corresponds to the database column wf_flow_act_log.gmt_create
     */
    private Date gmtCreate;

    /**
     * This field corresponds to the database column wf_flow_act_log.gmt_modified
     */
    private Date gmtModified;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getFlowId() {
		return flowId;
	}

	public void setFlowId(Long flowId) {
		this.flowId = flowId;
	}

	public String getFlowName() {
		return flowName;
	}

	public void setFlowName(String flowName) {
		this.flowName = flowName;
	}

	public String getBizType() {
		return bizType;
	}

	public void setBizType(String bizType) {
		this.bizType = bizType;
	}

	public Long getBizId() {
		return bizId;
	}

	public void setBizId(Long bizId) {
		this.bizId = bizId;
	}

	public Long getTaskId() {
		return taskId;
	}

	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getActType() {
		return actType;
	}

	public void setActType(String actType) {
		this.actType = actType;
	}

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	public String getDetailActType() {
		return detailActType;
	}

	public void setDetailActType(String detailActType) {
		this.detailActType = detailActType;
	}

	public String getReasonCode() {
		return reasonCode;
	}

	public void setReasonCode(String reasonCode) {
		this.reasonCode = reasonCode;
	}

	public String getReasonDesc() {
		return reasonDesc;
	}

	public void setReasonDesc(String reasonDesc) {
		this.reasonDesc = reasonDesc;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Long getActUserId() {
		return actUserId;
	}

	public void setActUserId(Long actUserId) {
		this.actUserId = actUserId;
	}

	public String getActUserName() {
		return actUserName;
	}

	public void setActUserName(String actUserName) {
		this.actUserName = actUserName;
	}

	public String getActUserRole() {
		return actUserRole;
	}

	public void setActUserRole(String actUserRole) {
		this.actUserRole = actUserRole;
	}

	public String getAttributes() {
		return attributes;
	}

	public void setAttributes(String attributes) {
		this.attributes = attributes;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}


    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}